using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using IServices;
using Services;
using UniversityManagerWebSite.Models.Validation;
using GestionLinqLibData;
using UniversityManagerWebSite.ViewModels;

namespace UniversityManagerWebSite.Controllers
{
   
  
    
    public class NotesController : Controller
    {

        //private INoteService _service;

        //public NotesController()
        //{
        //    _service = new NoteService(new ModelStateWrapper(this.ModelState));
        //}

        //public NotesController(INoteService service)
        //{
        //    _service = service;
        //}
        ////
        //// GET: /Notes/

        public ActionResult Index()
        {
            return View(new NotesViewModel());
        }


        [AcceptVerbs(HttpVerbs.Post)]
        public void index(FormCollection collection)
        {
            Response.Write(Request.Form.Get(0));
            Response.Write(Request.Form.Get(1));



        }

    }
}
